<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<html>
<head>
<%@ include file="/common/meta.jsp"%>
<%@ include file="/common/ec.jsp"%>
<title></title>
</head>
<body>
<div class="x-panel">
  <div class="x-panel-header">吸存参数管理</div>
  <div class="x-toolbar">
    <div style="padding: 5 5 2 10;">
      <img src="${ctx}/images/icons/add.gif" class="icon"><a href="edit.do?optionType=ADD" title="新增加一个参数">增加</a>
    </div>
  </div>
  <ec:table
    items="items" var="item" retrieveRowsCallback="process" sortRowsCallback="process"
	action="index.do" 
	useAjax="false"
	doPreload="false" 
	pageSizeList="20" 
	editable="false"
	sortable="true" 
	rowsDisplayed="20" 
	generateScript="true"
	resizeColWidth="false" 
	classic="false" 
	width="100%" 
	height="300px"
	minHeight="300"
	toolbarContent="navigation|pagejump|pagesize|refresh|extend|status">
	<ec:row>
		<ec:column width="35" property="_No" title="No." value="${GLOBALROWCOUNT}" style="text-align:center" />
		<ec:column width="100" property="ZH" title="账号"/>
		<ec:column width="100" property="XCRBH" title="吸存人编号"/>
		<ec:column width="100" property="XCBL" title="吸存比例"/>
		<ec:column width="200" property="NOTE" title="Note"/>
		<ec:column width="100" property="_option" title="操&nbsp;&nbsp;作" style="text-align:center">
		  <a href="edit.do?model.rylb=${item.ZH}" title="编辑修改数据">编</a>
		  |
		  <a href="#" onclick="remove('${item.ZH}')" title="删除数据">删</a>
		</ec:column>
	</ec:row>
  </ec:table>
</div>
<script type="text/javascript">
	function remove(zh){
		if (confirm('确定要删除本条信息吗?')) {
			window.location.href="remove.do?model.zh=" + zh;
		}
	}
</script>
</body>
</html>